﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dtos;

namespace IBLL
{
    public interface IHomeworkBll
    {
        Task<int> AddHomeworkAsync(string title, DateTime publicshTime, DateTime endTime);
        Task<int> EditHomeworkAsync(Guid id, string title, DateTime publicshTime, DateTime endTime);
        Task<int> DeleteHomeworkAsync(Guid id);
        Task<List<HomeworkDtos>> getAllHomework();
        Task<List<HomeworkDtos>> getHomeworkByNameAsync(string title);
        Task<HomeworkDtos> GetHomeworkIdAsync(Guid id);
        Task<bool> IsExistsAsync(string title);
    }
}
